package com.the4man.cnbdw.dao.gen;

import com.the4man.framework.model.Device;
import com.the4man.framework.model.DeviceExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by lenovo on 2017/12/12.
 */
public interface DeviceMapperBase {
    int countByExample(DeviceExample var1);

    int deleteByExample(DeviceExample var1);

    int deleteByPrimaryKey(String var1);

    int insert(Device var1);

    int insertSelective(Device var1);

    List<Device> selectByExample(DeviceExample var1);

    Device selectByPrimaryKey(String var1);

    int updateByExampleSelective(@Param("record") Device var1, @Param("example") DeviceExample var2);

    int updateByExample(@Param("record") Device var1, @Param("example") DeviceExample var2);

    int updateByPrimaryKeySelective(Device var1);

    int updateByPrimaryKey(Device var1);
}
